package com.tomecode.tools.maven.settings.gui.event;

/**
 * Interface between GUI and backend
 * 
 * @author Tomas Frastia
 * @see http://www.tomecode.com or
 *      http://code.google.com/p/maven-settings-editor/
 * 
 */
public interface CancelTask {

	/**
	 * if it returns true, then, the thread will be canceled
	 * 
	 * @return
	 */
	boolean isCanceled();

	void threadFinish();
}
